//
//  UsePinnedScrollable.swift
//  learn-ios
//
//  Created by Dong on 2022/4/5.
//

import SwiftUI

struct UsePinnedScrollable: View {
    var body: some View {
        VStack{
            PinnedScrollableViews{
                ForEach(1...100,id:\.self) { id in
                    Text("item: \(String(id))")	
                    
                }
            }
        }
    }
}

struct UsePinnedScrollable_Previews: PreviewProvider {
    static var previews: some View {
        UsePinnedScrollable()
    }
}
